docs: correct default API version#81
Open
Copilot wants to merge 4 commits into
Open
Conversation
Copilot
AI
changed the title
[WIP] Add documentation for supported environment variables
Document full CLI environment variable surface (auth, API version, incremental publish, telemetry)
May 22, 2026
Copilot
AI
changed the title
Document full CLI environment variable surface (auth, API version, incremental publish, telemetry)
Align API version docs/comments with May 22, 2026
2025-09-01-preview and remove premature env-var docs
Copilot
AI
changed the title
Align API version docs/comments with
docs: document supported environment variables and correct default API version
May 22, 2026
2025-09-01-preview and remove premature env-var docs
EMaher
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the default Azure API Management (APIM) REST API version used throughout the CLI and documentation from 2024-05-01 to 2025-09-01-preview. This ensures support for newer resource types, such as MCP-typed APIs, which may be omitted or rejected by older API versions.
Default API Version Update:
--api-versionCLI flag and theAZURE_API_VERSIONenvironment variable to2025-09-01-previewin the documentation (docs/reference/configuration.md). [1] [2] [3]extract-command.tsandpublish-command.tsto default to2025-09-01-previewforapiVersion, ensuring newer resource types are supported by ARM endpoints. [1] [2]Documents all supported environment variables indocs/reference/configuration.mdand corrects the documented default APIM API version from2024-05-01to2025-09-01-preview.Changes
docs/reference/configuration.mdAZURE_SUBSCRIPTION_ID,AZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_ID,AZURE_API_VERSION, andCOMMIT_IDwith per-variable scope and description--api-versiondefault andAZURE_API_VERSIONdefault in both the flags table and the defaults table to2025-09-01-preview(the actual runtime default, required for MCP-typed API support)src/cli/extract-command.ts/src/cli/publish-command.ts2025-09-01-previewas the default, making the rationale (MCP API support) easier to find